package com.jffccloud.provider.service;

import com.jffccloud.common.service.AbstractServiceImpl;
import com.jffccloud.provider.api.mapper.DemoMapper;
import com.jffccloud.provider.api.model.Demo;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class DemoService extends AbstractServiceImpl {
    @Resource
    private DemoMapper demoMapper;

    public void insert(Demo demo){
        demoMapper.insert(demo);
    }
}
